:root {
  --book-menu-active-bg-color: #fff; // 菜单激活背景色
  --book-menu-border-color: #fff; // 菜单边框色
  --book-menu-icon-fill-color: #aa96da; // 菜单图标填充色
  --book-menu-font-color: #6e828a; // 菜单字体颜色
  --book-aside-bg-color: #eff2fc; // 侧边栏背景色
  --book-content-bg-color: #f5f7fb; // 内容区背景色
}

body {
  margin: 0;
  height: 100vh;
  font-family: '微软雅黑', 'Microsoft YaHei', SimHei, sans-serif;
}

p {
  margin: 0px;
  height: auto;
}

#app {
  height: 100% !important;
}

#book-desktop-system {
  height: 100% !important;
  overflow: hidden;

  .book-contrainer {
    border: 1px #ccc;
  }
}

.view-container {
  height: 100%;
  align-items: center;
  padding: 10px;

  .view-aside {
    height: 100%;
  }

  .view-header {
    width: 100%;
  }

  .view-main {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    height: calc(100% - 20px);
    width: 100%;
    overflow: hidden;
  }
}

.book-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-right: 10px;
}

.book-icon svg:hover path {
  fill: #333;
}

/* 设置滚动条整体样式 */
.book-scroll::-webkit-scrollbar {
  width: 5px;
  height: 12px;
  opacity: 0; /* 默认隐藏滚动条 */
  transition: opacity 0.3s ease; /* 过渡效果 */
}
.book-scroll:hover::-webkit-scrollbar {
  opacity: 1; /* 鼠标悬停时显示滚动条 */
}
/* 设置滚动条轨道 */
.book-scroll::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 2px;
}

/* 设置滚动条滑块 */
.book-scroll::-webkit-scrollbar-thumb {
  background: #e4e7ed;
  border-radius: 10px;
}

/* 管理界面布局样式 */
.content-container {
  display: flex;
  flex-flow: column;
  flex: 1;
  box-sizing: border-box;
  height: 100%;
  max-height: 100%;

  .content-condition {
    //表格上的筛选条件
    padding: 10px;
    padding-top: 0px;
    margin-bottom: 4px;
    background: #fff;

    .filterBtn {
      float: right;
      width: auto;
      display: flex;
    }
  }

  .filter > .el-cascader,
  .filter > .el-input,
  .filter > .el-range-editor,
  .filter > .el-select,
  .filter > .el-select-v2 {
    margin-top: 10px;
    margin-right: 10px;
  }

  .filter button {
    margin-top: 10px;
  }

  .buttonBox .el-space__item,
  .buttonBox > .el-button,
  .buttonBox > .el-dropdown {
    margin-right: 10px;
    margin-left: 0;
    margin-top: 10px;
  }

  .table {
    flex: 1;
    display: block;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex-basis: auto;
    overflow: auto;
    position: relative;
  }

  .table .commonBox.tableBox {
    position: absolute;
    height: calc(100% - 68px);
    width: 98%;
  }

  .custom_header {
    display: inline-block;
  }
}

/* 弹窗底部按钮 */
.el-dialog__footer {
  text-align: center !important;
}
